BaseSubsystem.AddLIntVariable 方法

新增一個使用者定義變數(長整數)。

命名空間IntervalZero.KINGSTAR.Base.Class

組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

語法

C#VB
IUserVariable<long> AddLIntVariable(
       string Name,
       IUserVariable Parent = null
)
Function AddLIntVariable(
       Name As String,
       Parent = null As IUserVariable
) As IUserVariable(Of Long)

參數

Name

型別:string

變數名稱。

 

Parent

型別:IUserVariable

預設值:null

IUserVariable 的父資料夾,預設會將變數加到根資料夾中。

備註

回傳值

型別:IUserVariable<long>

回傳一個使用者定義變數(長整數)。

可用的 EtherCAT 狀態

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

參見

BaseSubsystem 類別

IntervalZero.KINGSTAR.Base.Class 命名空間